<table cellpadding="0" cellspacing="0" class="table">
	<tr>			
		<td class="td1"><input name="ids[{$el.main.id}]" value="{$el.main.id}" type="checkbox"></td>			
		<td class="td2">{$el.main.id}</td>	
		<td class="td3">{$el.main.regdate}<img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
		<td class="td4">
		<a href="index.php?admin=1&client_id={$el.main.id}&tpl_client_module=edit_client" class="blackNoUnderline">{$el.main.email|truncate:33:"...":true}</a>
		</td>	
		<td class="td5"><a href="#" onClick="openCenteredOnOpenerWindow('index.php?admin=1&id={$el.main.id}&popup=41','add_flields_to_client',400,400,1,1); return false">{t t='Laukai'}</a></td>
		{if $is_module == 1}
		<td class="td6"><a href="index.php?admin=1&body=admin/modules/shop_cart/index.html&module=shop_cart&tpl_act=client_filter&client_id={$el.main.id}">{t t='Užsakymų istorija'}</a></td>
		{/if}
		{if $smarty.get.client_form_field_name}
		<td class="td7">
		{$el.data[$smarty.get.client_form_field_name].value|truncate:26:"...":true}
		</td>	
		{/if}
		<td class="td8"><a href="#" onClick="openCenteredOnOpenerWindow('index.php?admin=1&id={$el.main.id}&popup=18','client_to_group_add',400,400,1,1); return false">{t t='Keisti'}</a></td>
		<td class="td9">
		{counter start=0 skip=1 name="ct2" assign="ct2"}
		{foreach from=$el.groups item="group_id"}
			{counter name="ct2" assign="ct2"}			
			{if $ct2!=1}, {/if}
			{ext->class_function class="clients" func="get_group_info" id=$group_id assign="group_info"}
			{$group_info.name|truncate:"25":"...":true}
		{/foreach}
		</td>
	</tr>
</table>
{*debug var=$el*}
